using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using JmShared;
using ProtoBuf;

namespace jivemessenger
{
    [ProtoContract]
    public class ChatBubble
    {
        //public bool Left;
                [ProtoMember(1)]
        public String Comment;
                [ProtoMember(2)]
        public UserInfo User;
                [ProtoMember(3)]
        public DateTime Timestamp;
        public ChatBubble(String comment, UserInfo user, DateTime timestamp)
        {
            //this.Left = left;
            this.Comment = comment;
            this.User = user;
            this.Timestamp = timestamp;
        }
    }
    [ProtoContract]
    public class ChatBubbleCollection
    {
        [ProtoMember(1)]
        public List<ChatBubble> ChatBubbles { get; set; }

        public ChatBubbleCollection(List<ChatBubble> value)
        {
            ChatBubbles = value;
        }
    }
}